#ifndef DRAWBALLS_BALL_H
#define DRAWBALLS_BALL_H

#include <SDL2/SDL.h>

typedef struct
{
    SDL_Rect dest;
    double angle;
    double rotateSpeed;
    double speedX, speedY;
} Ball;

Ball * Ball_Create(int x, int y, int rotateSpeed, double speedX, double speedY);

void Ball_Draw(Ball *self, SDL_Renderer *renderer);

void Ball_Destroy(Ball * ball);

#endif  // DRAWBALLS_BALL_H